
<h3>Account Information</h3>

<table>
    <tr>
        <td>First name:</td>
        <td><input type="text" value="${sessionScope.loginUser.firstName}" name="firstName" /></td>
    </tr>
    <tr>
        <td>Last name:</td>
        <td><input type="text" value="${sessionScope.loginUser.lastName}" name="lastName" /></td>
    </tr>
    <tr>
        <td>Email:</td>
        <td><input type="text" value="${sessionScope.loginUser.email}" name="email" /></td>
    </tr>
    <tr>
        <td>Phone:</td>
        <td><input type="text" value="${sessionScope.loginUser.phone}"  name="phone"  /></td>
    </tr>
    <tr>
        <td>Address 1:</td>
        <td><input type="text" value="${sessionScope.loginUser.address1}" name="address1"  /></td>
    </tr>
    <tr>
        <td>Address 2:</td>
        <td><input type="text" value="${sessionScope.loginUser.address2}" name="address2"/></td>
    </tr>
    <tr>
        <td>City:</td>
        <td><input type="text" value="${sessionScope.loginUser.city}" name="city"  /></td>
    </tr>
    <tr>
        <td>State:</td>
        <td><input type="text" value="${sessionScope.loginUser.state}" name="state"  /></td>
    </tr>
    <tr>
        <td>Zip:</td>
        <td><input type="text" value="${sessionScope.loginUser.zip}" name="zip" /></td>
    </tr>
    <tr>
        <td>Country:</td>
        <td><input type="text" value="${sessionScope.loginUser.country}" name="county" /></td>
    </tr>
</table>

<h3>Profile Information</h3>

<table>
    <tr>
        <td>Language Preference:</td>
        <td>${sessionScope.loginUser.languagePreference}</td>
        <td>
            <select name="languagePreference">
                <option value="English">English</option>
                <option value="Japanese">Japanese</option>
                <option value="Chinese">Chinese</option>
            </select>
        </td>
        </td>
    </tr>
    <tr>
        <td>Favourite Category:</td>
        <td>${sessionScope.loginUser.favouriteCategoryId}</td>
        <td>
            <select name="categoryPreference">
                <option value="FISH">FISH</option>
                <option value="DOG">DOG</option>
                <option value="CAT">CAT</option>
                <option value="BIRDS">BIRDS</option>
            </select>

        </td>
    </tr>
    <tr>
        <td>Enable MyList</td>
        <td>${sessionScope.loginUser.listOption}"</td>
        <td>
            <input type="checkbox" name="myList" value="myList" id="myList" >
            <%--<checkbox name="${sessionScope.loginUser.listOption}">${sessionScope.loginUser.listOption}</checkbox>--%>
        </td>
    </tr>
    <tr>
        <td>Enable MyBanner</td>
        <td>${sessionScope.loginUser.bannerOption}"</td>
        <td>
            <input type="checkbox" name="myBanner" value="myList" id="myBanner"/>
        </td>
    </tr>

    <%--<td>
        &lt;%&ndash;<c:if test="${sessionScope.loginUser==null}">
            <input type="submit" value="REGISTER">
        </c:if>&ndash;%&gt;
        <c:if test="${sessionScope.loginUser!=null}">
            <input type="submit" value="MODIFY YOUR ACCOUNT">
        </c:if>
    </td>--%>
</table>
</form>

